package com.sunnada.edu.business.contracTemplate.service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.multipart.MultipartFile;

@Service
@Transactional
public interface ContracTemplateService {
	
	public int getContracTemplateCots(HashMap<String, String> params);

	/**
	 * explain 查询功能
	 * 
	 * @author chs 2015-5-12 update chs 2015-5-12
	 * @param params
	 * @return List<?>
	 */
	public List<?> findContracTemplate(HashMap<String, String> params);
	/***
	 * explain 用户删除
	 * 
	 * @author chs 2015-5-12 update chs 2015-5-12
	 * @param params
	 * @return String
	 */
	public String contracTemplateDelete(HashMap<String, String> params);

	/**
	 * explain 用户添加保存
	 * 
	 * @author chs 2015-5-12 update chs 2015-5-12
	 * @param params
	 * @return String
	 */
	public String contracTemplateAdd(HashMap<String, String> params);

	/**
	 * explain 用户修改保存
	 * 
	 * @author chs 2015-5-12 update chs 2015-5-12
	 * @param params
	 * @return String
	 */
	public String contracTemplateUpdate(HashMap<String, String> params);

	/**
	 * explain 获得用户信息
	 * 
	 * @author chs 2015-5-12 update chs 2015-5-12
	 * @param params
	 * @return Map
	 */
	public Map contracTemplateById(HashMap<String, String> params);

}
